<template>
    <div>
        <MenuSearch v-model="menuQueryRef" ></MenuSearch>
        {{ menuQueryRef }}
    </div>
</template>
<script setup lang='ts'>
import {  ref } from 'vue';
import MenuSearch from './menu_search.vue'
import {TypeMenuQueryI} from '@/api/menu/menu_types'
import {$bus} from '@/event_bus/event_bus_index'
const queryFormInit:TypeMenuQueryI={
  keywords:undefined,
}
const menuQueryRef=ref<TypeMenuQueryI>(Object.assign({},queryFormInit));

$bus.on('role-table-query', () => {
    console.log('query role table');
    
})


    ////#region defineXxx
    //defineOptions({
        //name:
    //});

    //const props=defineProps({
        //propA:{
            //type:String,
            //required:true
        //},
        //propB:{
            //type:Number,
            //default:1
        //},
        //propC:{
            //type:String as PropType<MyType>,
            //required:true
        //},
    //});

    //const emit = defineEmits<{
        //event1:[para1:number,para2:string],
        //event2:[para1:number,para2:string],
    //}>();
    ////#endregion
    
    
</script>
<style lang='scss' scoped>
    
</style>